package com.macro.mall.portal.service;

import com.macro.mall.model.SmsParkingCoupon;
import com.macro.mall.model.SmsParkingCouponHistory;
import com.macro.mall.portal.domain.CartPromotionItem;
import com.macro.mall.portal.domain.SmsParkingCouponHistoryDetail;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 用户优惠券管理Service
 * Created by macro on 2018/8/29.
 */
public interface UmsMemberParkingCouponService {
    /**
     * 会员添加优惠券
     */
    @Transactional
    void add(Long couponId);

    /**
     * 获取优惠券历史列表
     */
    List<SmsParkingCouponHistory> listHistory(Integer useStatus);


    /**
     * 获取用户优惠券列表
     */
    List<SmsParkingCoupon> list(Integer useStatus);
}
